+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
+Thu Sep 20 16:20:47 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_allocate_images): Remove unnecessary
+ call to gdk_image_new_bitmap().
+
Thu Sep 20 15:31:35 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_init): Use the current
for (i = 0; i < n_images; i++)
{
- if (image_info->bitmap)
- /* Use malloc() instead of g_malloc since X will free() this mem */
- image_info->static_image[i] = gdk_image_new_bitmap (image_info->visual,
- (gpointer) malloc (REGION_WIDTH * REGION_HEIGHT >> 3),
- REGION_WIDTH * (N_REGIONS / n_images), REGION_HEIGHT);
- else
- image_info->static_image[i] = gdk_image_new (shared ? GDK_IMAGE_SHARED : GDK_IMAGE_NORMAL,
- image_info->visual,
- REGION_WIDTH * (N_REGIONS / n_images), REGION_HEIGHT);
+ image_info->static_image[i] = gdk_image_new (shared ? GDK_IMAGE_SHARED : GDK_IMAGE_NORMAL,
+ image_info->visual,
+ REGION_WIDTH * (N_REGIONS / n_images), REGION_HEIGHT);
if (!image_info->static_image[i])
{